import {
    CHANGE_POLLING
} from '../mutation-types'

const state = {
    polling: false
};

const getters = {
    polling: (state)=>state.polling
};

const mutations = {
    [CHANGE_POLLING](state, data){
        state.polling = data;
    }
};

export default {
    state,
    getters,
    mutations
}